package com.leo.foodmaster.admin.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.leo.foodmaster.admin.system.entity.SysOperLogEntity;

import java.util.List;

/**
 * 操作日志记录
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2021-12-22
 */
public interface ISysOperLogService extends IService<SysOperLogEntity> {

    /**
     * 条件分页查询
     */
    IPage<SysOperLogEntity> pageList(Page<SysOperLogEntity> page, String title, String operName,
                                     String businessType, String status, String beginTime, String endTime);

    /**
     * 条件查询
     */
    List<SysOperLogEntity> getList(String title, String operName, String businessType,
                                   String status, String beginTime, String endTime);
}
